<template>
  <div class="not-found">
    <h1>404</h1>
    <p>页面不存在</p>
    <NuxtLink to="/menu" class="back-link">返回菜单管理</NuxtLink>
  </div>
</template>

<script setup lang="ts">
// 404页面组件
</script>

<style scoped>
.not-found {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100%;
  text-align: center;
}

.not-found h1 {
  font-size: 72px;
  color: #1890ff;
  margin-bottom: 20px;
}

.not-found p {
  font-size: 18px;
  color: #666;
  margin-bottom: 30px;
}

.back-link {
  display: inline-block;
  padding: 8px 16px;
  background-color: #1890ff;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.3s;
}

.back-link:hover {
  background-color: #40a9ff;
}
</style>